package com.util.reflex;

/**
 * 学生妹妹
 */
public class StudentGirl {
    private String name;
    private int age;
    //    private WX_Token() {
//
//    }
    public StudentGirl(String name){
        this.name = name;
    }
    public StudentGirl(String name,int age){
        this.name = name;
        this.age  = age;
        System.out.println(String.format("大家好，我叫:%s,今天：%s岁",name,age));
    }
    private StudentGirl(int age){
        this.age = age;
        System.out.println(String.format("我喜欢的女孩子有:%s岁",age));

    }
    public StudentGirl(){

    }

    /**
     * 约炮
     */
    private void yuepao(String name,Integer age,Boolean flag){

        System.out.println(String.format("我很喜欢和:%s约炮，活到老就要约到老 /n 但是我喜欢年轻的，" +
                "不能超过%s岁，" +
                "我说的可都是%s的",name,age,flag));
    }

    @Override
    public String toString() {
        return "StudentGirl{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
